<template>
    <div class="form-btn">
        <slot name="btn-cancel" v-bind="texts">取消</slot>
        <slot name="btn-primary">提交</slot>
    </div>
</template>

<script>
export default {
    name:'form-btn',
    data:function(){
        return{
            text1:'确认11111bainf',
            text2:'取消',
            texts:{
                affirm:'确认',
                cancel:'取消'
            }
        }
    }
}
</script>

